import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-forshow',
  templateUrl: './forshow.component.html',
  styleUrls: ['./forshow.component.css']
})
export class ForshowComponent implements OnInit {
  images:Array<string>;
  constructor() {
    
   }

  ngOnInit() {
    // this.images = [1, 2, 3].map(() => `https://picsum.photos/900/500?random&t=${Math.random()}`);
    this.images = new Array();
    this.images.push('http://img2.3lian.com/2014/f3/26/d/29.jpg');
    this.images.push('http://img.zcool.cn/community/01ae865b2fab31a80120b9599c6465.jpg@2o.jpg');
    this.images.push('http://pic.90sjimg.com/back_pic/u/00/00/95/36/55e6b5ff363e6.jpg');
  }

}
